﻿using System.Collections.Generic;
using ProjectFootball.Foundation.Entities;

namespace ProjectFootball.Models.Entities.Main
{
    public class Country : BaseHeaderEntity<CountryV>
    {
        public Country()
        {
            Versions = new HashSet<CountryV>();
            OrganisationVs = new HashSet<OrganisationV>();
            PersonVs = new HashSet<PersonV>();
            TeamVs = new HashSet<TeamV>();
            VenueVs = new HashSet<VenueV>();
        }

        #region Navigation properties
        public virtual ICollection<OrganisationV> OrganisationVs { get; set; }
        public virtual ICollection<PersonV> PersonVs { get; set; }
        public virtual ICollection<TeamV> TeamVs { get; set; }
        public virtual ICollection<VenueV> VenueVs { get; set; }
        #endregion
    }
}
